<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8" />
  <title>地点推荐</title>
  <link rel="stylesheet" href="style.css" />
  <link rel="preload" href="assets/fonts/WenYiXiaoKai.ttf" as="font" type="font/ttf" crossorigin="anonymous">
</head>
<body>
  <div class="background"></div>
  <h1>为你推荐的旅游学校</h1>
  <div class="filters">
    <input type="text" id="keyword" placeholder="输入关键词" />
    <select id="type">
      <option value="">全部</option>
      <option value="1">景点</option>
      <option value="2">学校</option>
    </select>
    <select id="sortby">
      <option value="1">按热度排序</option>
      <option value="2">按评分排序</option>
    </select>
    <button onclick="loadLocations()">搜索</button>
  </div>
  <div id="location-list" class="card-container"></div>
  <script src="api.js"></script>
  <script src="render.js"></script>
  <script>
    loadLocations();
  </script>
</body>
</html>
